//
//  HOTMemoRangeCell.m
//  Genpara
//
//  Created by AndyChang.zhang on 14-9-22.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//

#import "HOTMemoRangeCell.h"

@implementation HOTMemoRangeCell

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    //self.radioBtn.selected = !self.radioBtn.isSelected;

}

- (IBAction)radioBtnClicked:(id)sender {
    
    self.radioBtn.selected = !self.radioBtn.isSelected;
    if ([self.delegate respondsToSelector:@selector(radioBtnClicked: index:)]) {
        
        [self.delegate radioBtnClicked:self.radioBtn.isSelected index:self.indexPath];
    }
}

-(void)setBgColor:(UIColor *)bgColor {
    
    _bgView.backgroundColor = bgColor;
}
@end
